import { ApiProperty } from "@nestjs/swagger";


// https://docs.nestjs.com/openapi/types-and-parameters

export class CreateArticleDto {
    
    @ApiProperty({minLength:3,required:true,description:'This is the title'})
    title: string;
  
    @ApiProperty({minLength:10,required:true})
    content: string;

    @ApiProperty({required:true})
    uid: number;
}
